/******************************************************************************
**
**	$Archive: /APACS30 50/SPK2SIM/Source/A30Src/Negative.h $
**
**	Module/Class:	negative.h		 
**
**	Description:	Source code for high level negative file handling functions.
**     
**          Function List
**                          int initialize_negative(int master, int seed, int pan)
**                          int add_card(int master, char *pan) 
**                          int delete_card(int master, char *pan)
**                          int retrieve_card(int master, char *pan)
**
**	Modification history: 
 *
 * $History: Negative.h $
 * 
 * *****************  Version 2  *****************
 * User: Simon_h2     Date: 11/28/00   Time: 11:20a
 * Updated in $/APACS30 50/SPK2SIM/Source/A30Src
 * 
 * *****************  Version 1  *****************
 * User: Nick_t1      Date: 10/05/00   Time: 9:40a
 * Created in $/APACS30/SPK2SIM/Source/A30Src
 * 
 * *****************  Version 1  *****************
 * User: Brett_a1     Date: 4/10/00    Time: 14:09
 * Created in $/APACS30/SPK2SIM/Source/A30Src
 * initial checkin
 * 
 * *****************  Version 4  *****************
 * User: Nick_t1      Date: 28/04/99   Time: 4:09p
 * Updated in $/Omni 2000 Dev Modules/Include
 * 
 * *****************  Version 3  *****************
 * User: John_h7      Date: 23/03/99   Time: 17:43
 * Updated in $/Omni 2000 Dev Modules/Include
 * Simulator alterations
 * 
 * *****************  Version 2  *****************
 * User: Nick_t1      Date: 8/03/99    Time: 10:41a
 * Updated in $/Omni 2000 Dev Modules/Include
 * 
 * *****************  Version 1  *****************
 * User: Nick_t1      Date: 5/03/99    Time: 10:56a
 * Created in $/Omni 2000 Dev Modules/Include
 * 
 * *****************  Version 3  *****************
 * User: Nick_t1      Date: 30/11/98   Time: 11:35a
 * Updated in $/Omni 2000 Dev Modules/Negative File Library/Test Harness
 * 
 * *****************  Version 2  *****************
 * User: Nick_t1      Date: 10/11/98   Time: 1:41p
 * Updated in $/Omni 2000 Dev Modules/Negative File Library/Test Harness
 * Tidy up
 * 
******************************************************************************/
/******************************************************************************
      Copyright (C) 1996-1997 by VeriFone Inc. All rights reserved.

 No part of this software may be used, stored, compiled, reproduced,
 modified, transcribed, translated, transmitted, or transferred, in any form 
 or by any means whether electronic, mechanical, magnetic, optical, 
 or otherwise, without the express prior written permission of VeriFone, Inc.
******************************************************************************/

#define DEBUG_HELP(x) vfl_write_at("POS: ",5,1,4);strcpy(tmp3,"     ");SVC_INT2(x,tmp3);vfl_write_at(tmp3,5,5,4);vfl_wait_for_key();
#define NEGATIVE_ERROR	-100
#define OK				1
#define ALREADY_PRESENT	2

extern char tmp3[8]; /*DEBUG_HELP*/

int initialize_negative(int master, int seed, int pan);
int add_card(int master, char *pan);
int delete_card(int master, char *pan);
int retrieve_card(int master, char *pan);



